package com.dragon.modules.yuegou.service.points;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.modules.yuegou.entity.points.SignRulesEntity;
import com.dragon.modules.yuegou.model.points.SignRules;

import java.util.List;

/**
 * 签到规则表 服务接口
 *
 * @author tg
 * @date 2019-04-22 10:35:56
 * @version 2.0
 */
public interface SignRulesService extends IService<SignRulesEntity> {

    /**
     * 保存签到规则
     */
    void saveRules(SignRules signRules);

    /**
     * 删除签到规则
     */
    void delRules(String id);

    /**
     * 获取积分签到规则
     * @param busdId
     * @return
     */
    List<SignRules> getSignRules(String busdId);
}